import request from "@/utils/request";
export default {
  getList({ current, pageSize }) {
    return request.get(`/admin/product/baseTrademark/${current}/${pageSize}`);
  },
  deleteOne(id) {
    return request.delete(`/admin/product/baseTrademark/remove/${id}`);
  },
  add(trademark) {
    return request.post(`/admin/product/baseTrademark/save`, trademark);
  },
  update(trademark) {
    return request.put(`/admin/product/baseTrademark/update`, trademark);
  },
};
